Skip to content

Comments

Add colours to Attributes.ps1#2

Open
scientica wants to merge 3 commits intojdebp:masterfrom
scientica:add-colours
Open

Add colours to Attributes.ps1#2
scientica wants to merge 3 commits intojdebp:masterfrom
scientica:add-colours

Conversation

@scientica
Copy link

tl;dr: I made a quick test with adding colors to the attributes test, making a pull request in case it is of interest just to share my hacking :)

It's just a quick test (e.g. I didn't bother adding labels to the fore- and background selectors), so it probably would need some adjustments in that regard at least.

Also took the liberty of adding a settings.json which sets the spelling language to British English (en_GB) on a hunch based on the ".uk" link on your profile (went with the spelling "colour" in the source based on that guess too).

This branch basically adds two combo-boxes for choosing the fore- and background color of the text, and a checkbox whether to combine that with the other attributes or not. The colors are the basic "ISO colors" for the SGR rage 30-37,39 (and 4x ditto).

However I didn't implement 256-color or RGB truecolor support. (Which ironically what was I was originally fiddling with in combination with the bold attr.)

So, in other words feel free to do as you please with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant